package com.neusoft.Shixun.service;

import com.neusoft.Shixun.dto.OutgoingRequestWithClientDto;
import com.neusoft.Shixun.po.OutgoingRequest;
import com.neusoft.Shixun.po.ResponseBean;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface OutgoingRequestService {
    ResponseBean<List<OutgoingRequest>> getAllOutgoingRequests();
    ResponseBean<OutgoingRequest> getOutgoingRequestById(Integer requestId);
    ResponseBean<Integer> addOutgoingRequest(OutgoingRequest outgoingRequest);
    ResponseBean<Integer> updateOutgoingRequest(OutgoingRequest outgoingRequest);
    ResponseBean<Integer> deleteOutgoingRequest(Integer requestId);
    ResponseBean<Integer> passOutgoingRequest(OutgoingRequest outgoingRequest);
    ResponseBean<List<OutgoingRequestWithClientDto>> getOutgoingRequests(String clientName, String isSelfCare);
    ResponseBean<List<OutgoingRequestWithClientDto>> getOutgoingRequestsByCareTakerId(Integer careTakerId, String clientName);
}